-- GENERATED SPELL FOR [Zalazane] --


function spell0_3205(pUnit, Event) --@Healing Wave,Heal--
pUnit:FullCastSpellOnTarget(332,pUnit)
pUnit:RegisterEvent('Sorts_3205', 2000, 1)
end

function spell1_3205(pUnit, Event) --@Shrink,n/a--
pUnit:FullCastSpellOnTarget(7289,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3205', 3000, 1)
end

function Sorts_3205(pUnit, Event)
local choix_sorts_3205 = math.random(0, 1)
if choix_sorts_3205 == 0 then
pUnit:RegisterEvent('spell0_3205', 1, 1)
end
if choix_sorts_3205 == 1 then
pUnit:RegisterEvent('spell1_3205', 1, 1)
end
end

function mob3205_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3205', math.random(1500, 3000), 1)
end

function mob3205_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3205_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3205_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3205, 1, 'mob3205_Action')
RegisterUnitEvent(3205, 2, 'mob3205_Leave')
RegisterUnitEvent(3205, 3, 'mob3205_Kill')
RegisterUnitEvent(3205, 4, 'mob3205_Die')
